home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_6
/
xbj113.lha
/
XBJ.DOC
< prev
Wrap
Text File
|
1994-09-27
|
5KB
|
134 lines
Al's Blackjack Casino
Alan Bland Quarter Note
442 Seven Hills Drive (303)939-9923
Boulder, CO 80302 USA 1:104/121
Copyright (c) 1991-1994 by Alan Bland, All Rights Reserved
XBJ is freely distributable as long as the program is
not modified in any way, and the copyright notice when
the program starts remains intact.
The latest version of Al's Blackjack Casino is always
available by file requesting CASINO from 1:104/121.
WHAT IS IT?
-----------
Al's Blackjack Casino (XBJ) is a Blackjack game door for Amiga BBS
systems. It was originally written as a Xenolink-specific game, but
was later changed to use the standard CLI protocol used by nearly
every BBS program on the Amiga. Al's Blackjack Casino has worked on
DLG, Xenolink, Transamiga, CNet, and probably others that I have not
heard about.
I currently run DLG and do all my testing with DLG, so I cannot make
any guarantees that it will work with any other BBS program.
Al's Blackjack Casino plays a basic one-player Blackjack game, uses
ANSI color graphics, and maintains a high-score file so your BBS users
can compete against each other for the number one spot! The high
scores are reset at the beginning of every month, so it's easy to run
monthly contests among your users.
Al's Blackjack Casino is freeware. Install it on your BBS and let
your users have fun. If you like this program, I'd appreciate hearing
your comments.
INSTALLATION FOR DLG 1.0
------------------------
Create a directory named DOORS:XBJ and copy the XBJ executable file
there. Use the following menu entry:
Executable: doors:xbj/xbj -u "%NAME" -p %PORT
Description: Al's Blackjack Casino
Type: Executable
Load type: Overlay
Pend messages: Yes
Cli mode: No
The -p is optional and tells XBJ which DLG port it's running on.
If -p is specified, XBJ will display DLG broadcast messages at the
bottom of the screen.
INSTALLATION FOR OTHER BBS PROGRAMS
-----------------------------------
Create a directory named DOORS:XBJ and copy the XBJ executable file
there. Tell your BBS software to run the following CLI command:
doors:xbj/xbj -u "user's name"
CONFIGURATION FILE
------------------
XBJ reads a configuration file, DOORS:XBJ/XBJ.CFG. An example
configuration file is provided. You should edit the example
configuration file to customize XBJ to your needs.
The configuration file consists of keywords and values. You may
specify the keywords in any order, and you may mix upper and lower
case letters. Lines beginning with a ";" are ignored.
If you do not install the XBJ.CFG file, reasonable defaults will be
used.
See the comments in the supplied XBJ.CFG file for all the possible
configuration options.
MONTHLY SCORE FILES
-------------------
The user scores get reset the first time the game is played each
month. The files listed below are maintained by XBJ in the DOORS:XBJ
directory. Normally XBJ will handle these files automatically; you
should never have to do anything with them.
xbj.users This contains the current month's scores and other
per-user information. Delete this file if you want
to reset all scores.
xbj.users.last This contains last month's per-user data. It's not
really used, but is kept around in case you need to
restore it.
month.file This file controls when XBJ decides to begin a new
month. You only need to worry about this file if
you manage to mess up the date on your Amiga, or if
nobody plays XBJ for more than a month. This file
contains the month number (0-11) when XBJ last wrote
the score files. XBJ will switch to a new month
when the current month is different from this value.
HOWEVER, IF XBJ DETECTS THAT THE MONTH HAS SKIPPED
BY MORE THAN A SINGLE MONTH, IT WILL DISPLAY AN
ERROR AND WILL NOT UPDATE THE SCORES. This protects
you from hosing your scores if your Amiga's clock
goes bonkers. You can delete this file, whereupon
XBJ will assume the current month is correct. You
can also edit the value in this file to fix it, but
that's not recommended.
The high scores are also maintained as text files that you can display
as bulletins. XBJ can optionally create these files as plain ASCII,
16-color ANSI, or using DLG ANSI codes. See the XBJ.CFG file for
details.
CARRIER LOSS AND MULTIPLE NODES
-------------------------------
Just so you know, XBJ detects carrier loss and updates the user's
score and daily time used. There's no way to avoid the daily time
limit, or to abort a bad gaming session without updating the score
file. The score files are locked to prevent multiple nodes from
clobbering each other, so you can run as many simultaneous copies of
XBJ you wish.